<div class="nav-collapse sidebar-nav">
<?php
    $this->widget('zii.widgets.CMenu', array(
        'htmlOptions' => array(
            'class' => 'nav nav-tabs nav-stacked main-menu'
        ),
        'activateParents' => false,
        'activateItems' => true,
        'activeCssClass' => 'active',
        'items'=>array(
            array('active' => Yii::app()->controller->getMenuActive('home'),'template' => '<a href="'.Yii::app()->createUrl('home').'" ><i class="icon-dashboard main-menu-icon"></i><span class="main-menu-label hidden-tablet">'.Yii::t("main","Bảng điều khiển").'</span></a>', 'url'=>array('home')),
            array('template' => '<a class="dropmenu" href="index.html"><i class="icon-list main-menu-icon"></i><span class="main-menu-label hidden-tablet">'.Yii::t("main","Quản lý liên hệ").'</span> <span class="label">2</span></a>', 'url'=>array('#'), 'items'=>array(
                array('active' => Yii::app()->controller->getMenuActive('groups'),'template' => '<a class="submenu" href="'.Yii::app()->createUrl('groups').'"><i class="icon-book"></i><span class="hidden-tablet">'.Yii::t('main', 'Nhóm liên hệ').'</span></a>', 'url'=>array('groups')),
                array('active' => Yii::app()->controller->getMenuActive('contacts'),'template' => '<a class="submenu" href="'.Yii::app()->createUrl('contacts').'"><i class="icon-group"></i><span class="hidden-tablet">'.Yii::t('main', 'Liên hệ').'</span></a>', 'url'=>array('contacts')),
            )),
           array('active' => Yii::app()->controller->getMenuActive('templates'),'template' => '<a href="'.Yii::app()->createUrl('templates').'" ><i class="icon-magic main-menu-icon"></i><span class="main-menu-label hidden-tablet">'.Yii::t("main","Thiết kế mẫu email").'</span></a>', 'url'=>array('templates')),
           array('active' => Yii::app()->controller->getMenuActive('campaigns'),'template' => '<a href="'.Yii::app()->createUrl('campaigns').'" ><i class="icon-bullhorn main-menu-icon"></i><span class="main-menu-label hidden-tablet">'.Yii::t("main","Chiến dịch email").'</span></a>', 'url'=>array('campaigns')),
           array('active' => Yii::app()->controller->getMenuActive('reports'),'template' => '<a href="'.Yii::app()->createUrl('reports').'" ><i class="icon-bar-chart main-menu-icon"></i><span class="main-menu-label hidden-tablet">'.Yii::t("main","Báo cáo").'</span></a>', 'url'=>array('reports')),
        ),
    ));
?>
</div>